<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<div id="slideShowContainer"></div>
<span style="visibility: hidden;">loginPageResponse</span>
<div class="body_content" onload='document.f.j_username.focus();'>
	<table>
		<tr>
			<td id="login_content_td" valign="top" style="padding-right: 70px;">
				<h3>Already a user? Sign In</h3> 
				<div class="border_img_empty_div"></div>
				<c:if test="${not empty param['error']}">
					
					<div class='error'>
						<img style="float: left;" alt="error" src="/static/images/ERROR.gif" /> <span >
						Your login attempt was not successful, try again.<br /> Caused :
						${sessionScope["SPRING_SECURITY_LAST_EXCEPTION"].message}</span>
					</div>
				</c:if>
				<form name='f' action="javascript:void(0)"
					method='POST' dojoType="dijit.form.Form" id="loginForm"
					data-dojo-id="loginForm">
					<table>
						<tr>
							<td>User:</td>
							<td><input type='text' name='j_username' value='' required="true"
								placeholder="user name" dojoType="dijit.form.ValidationTextBox"
								missingMessage="Please Enter userName"></td>
						</tr>
						<tr>
							<td>Password:</td>
							<td><input type='password' name='j_password' required="true"
								dojoType="dijit.form.ValidationTextBox"
								missingMessage="Please Enter password" /> <br>
								<a href="javascript:void(0);" id="forgotPasswordLink">Forgot Password?</a>
								</td>
						</tr>
						<tr>
							<td colspan='2'>
									<div class="questionnaire_submit_button">
										<button style="margin-left: 30px; margin-top: 20px;"  type="submit" name="submit" value="submit" id="loginSubmitButton" class="ui-action-tag action-primary"><span class="ui-action"><span class="ui-action-content">Sign In</span></span></button>
											<span class="signup_message">By clicking Sign In you agree to our <a href="javascript:void(0);">terms of use</a> and <a href="javascript:void(0);">privacy policy</a> </span>
									</div>
							</td>
						</tr>
						<tr>
							
						</tr>
					</table>
				</form>
			</td>
			<td style="padding-left: 40px; border-left: 1px solid #848284;"
				valign="top">
				<div id="registrationPane" ></div>
				
			</td>
		</tr>
	</table>
	<div style="width: 250px; margin: 0 auto;" class="login_pane">
		<a href="javascript:linkedinPopup()" class="google_button"> 
		<img class="linkedin_image" src="/static/images/icon-linkedin.gif"	alt="Login With LinkedIN"> SIGN IN WITH LinkedIN </a>
	</div>
</div>
